import { $post, $get } from "@/utils/request";


//通过筛选条件查询菜品
export let searchDish = (params) => {
  return $post("/dish/list", params)
}

//选择菜品的口味
export let getDishFlavor = (params) => {
  return $get("/dishFlavor/realFlavors", { params })
}

//套餐列表
export let searchSetmeal = (params) => {
  return $post("/setmeal/list",params)
}

//套餐详情
export let setmealDetail = (params) => {
  return $get("/setmeal/detail", { params })
}

//套餐详情
export let addShopping = (params) => {
  return $post("/shoppingCart/add", params)
}



